package cn.bs.busuo.front.content.service;

import cn.bs.busuo.common.pojo.authentication.CurrentPrincipal;
import cn.bs.busuo.front.content.pojo.param.HotelArticleAddNewParam;
import cn.bs.busuo.front.content.pojo.param.HotelArticleUpDateParam;
import cn.bs.busuo.front.content.pojo.vo.ContentHotelArticleDetailByIdVO;
import cn.bs.busuo.front.content.pojo.vo.UserContentHotelArticleByIdVO;


import java.util.List;

/**
 * @author: Feng
 * @since: 2023/12/8
 */
public interface UserHotelArticleService {
    //添加酒店文章
    void addNewHotelArticle(CurrentPrincipal currentPrincipal, HotelArticleAddNewParam hotelArticleAddNewParam,Long id);
    //删除酒店文章
    void deleteArticle(CurrentPrincipal currentPrincipal,Long id);
    //根据酒店ID查看所有文章
    String selectHotelArticleByHotelId(Long id);
    //查看文章详情
    ContentHotelArticleDetailByIdVO selectHotelArticleDetailById(Long id);
    //查看自己的酒店文章
    String selectUserListHotelArticle(String authorName);
    //查看酒店文章详情并好评
    void increaseUpCount(Long id);
    //查看酒店文章详情并差评
    void increaseDownCount(Long id);
    //修改文章信息
    void upDateHotelArticle(String authorName, Long id, HotelArticleUpDateParam hotelArticleUpDateParam);
}
